projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c693952
)
Avoid compilation warning in ftfont.c
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 17 Dec 2018 17:45:06 +0000
(19:45 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 17 Dec 2018 17:45:06 +0000
(19:45 +0200)
* src/ftfont.c (ftfont_shape_by_hb): Compile only if
HAVE_LIBOTF is defined. (Bug#33771)
src/ftfont.c
patch
|
blob
|
history
diff --git
a/src/ftfont.c
b/src/ftfont.c
index bbdc936ffd18ac20112e0de2c8b9cf0400f2bba9..824a005df1b608f0c7b59917869edf75527673fe 100644
(file)
--- a/
src/ftfont.c
+++ b/
src/ftfont.c
@@
-2815,6
+2815,7
@@
get_hb_unicode_funcs (void)
return funcs;
}
+#ifdef HAVE_LIBOTF
static Lisp_Object
ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face ft_face, hb_font_t *hb_font,
FT_Matrix *matrix)
@@
-2929,6
+2930,7
@@
done:
return make_fixnum (glyph_len);
}
+#endif /* HAVE_LIBOTF */
#endif /* HAVE_HARFBUZZ */
#if defined HAVE_LIBOTF && (defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ)